<%@page import="java.io.PrintStream"%>
<%@page import="java.io.ByteArrayOutputStream"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isErrorPage="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>服务器内部错误</title>
</head>
<body>
 <div>
		<h1>服务器内部错误</h1>
 		<h2>错误码： <%=request.getAttribute("javax.servlet.error.status_code")%> </h2>

	</div>
  <div>
  <%  //此处输出异常信息
  	if(exception!=null){
  	  exception.printStackTrace(response.getWriter()); 
  	}
  %>
  </div>
</body>
</html>